#!/usr/bin/python

""" simulate the result of fdisk """

import sys

if len(sys.argv) > 2:

    disk = sys.argv[2]
    print('Disk %s: 299.6 GB, 299599986688 bytes' % disk)
    print('255 heads, 63 sectors/track, 36424 cylinders')
    print('Units = cylinders of 16065 * 512 = 8225280 bytes')
    print('Sector size (logical/physical): 512 bytes / 512 bytes')
    print('I/O size (minimum/optimal): 512 bytes / 1048576 bytes')
    print('Disk identifier: 0xf4ac2f74')
    print('')
    print('Device Boot\tStart\tEnd\tBlocks\tId\tSystem')
    print('%s1\t1\t36424\t292575748+\t83\tLinux' % disk)

